package com.read.common.response;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @author sh-sunb6
 * @description 统一返回类
 * @date 2019-02-20 9:29
 */
@Getter
@Setter
@JsonSerialize
public class RespResult<T> implements Serializable {

    private int code;

    private String msg;

    private T data;

}
